/**
 * daniele.gili@usi.ch
 */

package ch.usi.inf.pf2;

import java.awt.Graphics;

public class Pin extends ActionDelay implements java.io.Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	protected int x = 0;
	protected int y = 0;
	protected int width = 5;
	protected int height = 5;
	protected Integer actualValue;

	public Integer getValue(int index) {
		return 0;
	}
	
	

	public boolean contains(final int x, final int y) {
		return x >= this.x && x <= this.x + this.width && y >= this.y
				&& y <= this.y + this.height;
	}

	public void draw(final Graphics g) {
	}

}
